package Shop.mappers;

import Shop.damain.Goods;
import Shop.damain.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by BadHuge on 2020/10/9.
 */
public interface GoodsMapper {
    List<Goods> queryGoods();
    int queryGoodCounts();
    List<Goods> queryGoodsByPage(@Param("parGname") String gname, @Param("page") int page);
    int insertShops(@Param("ownerid")int ownerid,@Param("parOid") int oid);
    int insertOrders(@Param("oid")int oid,@Param("spowner")int spowner,@Param("gid") int gid);
}
